/**
 * 
 */
package com.qccx.ueuo.selfguide.dao;

import java.util.List;

import com.qccx.ueuo.selfguide.entity.AreaVoice;

/**
 * 功能介绍:
 * @author rainJohn
 *
 * @date [2013-4-27]
 */
public interface AreaVoiceDao
{
    /**
     * 添加
     * 
     * @param areaVoice
     * @return
     */
    int addAreaVoice( AreaVoice areaVoice );

    /**
     * 删除
     * 
     * @param id
     * @return
     */
    boolean deleteAreaVoiceById( int id );

    /**
     * 更新
     * 
     * @param areaVoice
     * @return
     */
    int updateAreaVoice( AreaVoice areaVoice );

    /**
     * 查询所有
     * 
     * @return
     */
    List<AreaVoice> queryAllAreaVoice();

    /**
     * 通过id查找
     * 
     * @param id
     * @return
     */
    AreaVoice queryAreaVoiceById( int id );
}
